package com.ywqf_api.dto.exc;

import com.ywqf_api.base.BaseAPPExcution;
import com.ywqf_api.enums.WechatPayEnum;

public class WechatPayExcution extends BaseAPPExcution{
    public WechatPayExcution(WechatPayEnum wechatPayEnum){
        this.state = wechatPayEnum.isState();
        this.msg = wechatPayEnum.getMsg();
    }
    public WechatPayExcution(WechatPayEnum wechatPayEnum, Object data){
        this.state = wechatPayEnum.isState();
        this.msg = wechatPayEnum.getMsg();
        this.data = data;
    }
}
